# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ovos-messagebus
pkgver=0.0.3
pkgrel=0
pkgdesc="ovos-core metapackage for bus daemon"
url="https://github.com/OpenVoiceOS/ovos-messagebus"
arch="noarch"
license="Apache-2.0"
depends="
	py3-ovos-config
	py3-ovos-utils
	py3-tornado
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
checkdepends="
	py3-pytest
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-messagebus/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
a908e8974440d742a79006f1167b5dde15911898fd46532c356354b177c661a651320670c5f1c00f2cb2f68cc99ccece32429c6356867360077b64c6b739b51b  ovos-messagebus-0.0.3.tar.gz
"
